package edu.sctu.practice.class02.Wangpeng.Test8;

import edu.sctu.practice.class02.Wangpeng.Test2.Vehicle;

/**
 * Created by wp on 2015/11/9.
 */
public class Vehicles {
    private String brand;
    private String color;

    public Vehicles(String brand,String color){
        this.brand=brand;
        this.color=color;
    }
    void run(){
        System.out.println("我开动了");
    }
    void showInfo(){
        System.out.println("商标"+brand+"颜色"+color);
    }
}
